005 screens and navigation

好的。
OK.

欢迎回来。
Welcome back.

现在让我们开始一些导航工作。
Now let's start working on some navigation.

我们需要做的第一件事是获得窗口 10,这是我们的默认窗口,我们想要创建另一个窗口,我们将能够使用它来回导航。
The first thing that we need to do we've got our window 10 which is our default window here and we want to create another window that we're going to be able to use to navigate back and forth.

我该怎么做呢。
How do I do this.

好吧,我将来到一个窗口并单击打开的窗口,这是我已经拥有的所有窗口的列表。
Well I'm going to come up here to a window and click on open window and there's my list of all of the windows that I've already got.

现在,其中大多数是我们不会使用的东西,因为它们实际上只是系统已经使用并在我们的项目中创建的弹出窗口。
Now most of these are things that we're not going to be working with because they're really just pop ups that the system already uses and has created in our project.

因此,除了我们也可以删除并用其他内容替换的窗口 10 之外,我们实际上不需要使用其中的任何一个。
So we don't really need to work with pretty much any of these except for our window 10 which we could also delete and replace with something else.

但现在我只是要创建一个新窗口,它将作为基本窗口,我将其保留为窗口杠杆。
But for now I'm just going to create a new window that's going to be a base window and I'll just leave that as window a lever.

我现在真的不需要在名字上发挥创意,但我当然可以改变它。
I don't really need to get creative with names right now but I could certainly change that.

我们总是将分辨率和大小保持不变,因为我们真的不想创建比要填满显示器的屏幕更小的屏幕,这样我们就可以将框架留在那里,将背景颜色设置为零。
The resolution the size we're always going to leave that the same because we really don't want to create smaller screens than what's going to fill up our display so we can leave that there we can leave our frame with zero our background color.

你知道我们可以在这里发挥创意。
You know we can get creative here.

所以让我们继续给自己一些像漂亮的蓝色背景的东西。
So let's go ahead and give ourselves something like a nice blue background.

这样,每当我们导航时,我们就能够将新窗口与现有窗口区分开来,我们将能够区分其中的区别以及其余部分。
So that way we'll be able to tell our window our new window from our existing window whenever we navigate we'll be able to tell the difference and the rest of this.

我将直接离开它所在的位置,因为这将为我们提供一个很好的正常窗口,然后我将点击“确定”。
I'm just going to leave exactly where it is because that's going to give us a nice normal window and I'm going to hit OK.

现在我们有两个不同的窗口,如果我双击它,我可以继续退出窗口界面。
So now we've got two different windows I can go ahead and exit out of my window interface and if I double click on that.

现在您会看到我的两个窗口都有选项卡,所以这很完美。
Now you see I have tabs here for my two windows so that's perfect.

所以现在我有了窗户。
So now I've got the windows.

我如何在他们之间来回。
How do I get back and forth between them.

所以我们要在这里讨论对象。
So we're going to come up here to objects.

我们要拉入一个按钮,我们要寻找一个功能键,我们要更改全屏窗口,我们要从下拉列表中选择窗口 11。
We're going to pull in a button and we're going to look for a function key and we're going to want to change our full screen window and we're going to select window 11 from our dropdown.

因此,我们唯一可能想做的另一件事就是来到这里并设置一个标签,您可以看到我已经检查了使用的标签,但如果您的标签未选中,您肯定要检查使用标签,然后在内容中查看。
So then the only other thing we might want to do is come in here and set a label and you can see I've already got used label checked but if yours is unchecked you definitely want to check use label and then down here in content.

我将继续输入 w 11,因为我将导航到窗口 11。
I'm going to go ahead and type w 11 because I'm going to be navigating to window 11.

所以我已经设置了标签,然后我还在窗口编号下选择了我的窗口,并且我正在更改全屏窗口,这样我就可以继续使用它,我只需将其放在此处这个底角应该是完美的,按钮应该可以让我进入窗口 11。
So I've got my labels set up and then I've also got my windows selected here under window number and I'm changing the full screen window so I can go ahead and take that and I'll just drop it in down here and this bottom corner that should be perfect that button should get me to window 11.

然后,当我到达 11 号窗口时,我需要找到返回的方法。
And then when I get to window 11 I'll need a way to get back.

那么让我们这样做吧。
So let's do this.

我将探索该功能按钮的更多功能。
I'm going to explore some more functionality of that function button.

让我们返回到对象按钮并创建另一个功能键。
Let's go back up to objects button and create one more function key.

我们将在此处检查此单选按钮以返回到上一个窗口。
This one we're going to check this radio button right here for a return to previous window.

然后让我们回到标签,而不是 w 11 让我们输入上一次点击的“确定”,然后我将把它放到屏幕右下角的位置。
And then let's go back into the label and instead of w 11 Let's type previous hit OK and then I'm going to drop that down here kind of towards the bottom right of my screen.

然后我们选择点击 Control C 进入窗口 11 并点击 Control V。
Let's then select that hit Control C come over to window 11 and hit Control V.

所以现在我们应该回到这里的屏幕中心。
So now that should take us back to whatever screen centers here in the first place.

那么让我们测试一下这个理论,看看我们的导航是否有效。
So let's test that theory and see if our navigation works.

我们将在这里讨论工具。
We're going to come up here to tools.

让我们继续点击在线模拟。
And let's go ahead and click on online simulation.

这就是我们的物理蚀刻机面板的样子,如果它确实存在并安装在机器上,那么我们在它周围会有这个小边框。
And this is what our physical etcher my panel would look like if it was actually there and installed on a machine so we'd have this little frame border around it.

在我们看到的屏幕上有这两个按钮。
And on the screen that we're looking at we would have these two buttons.

当我单击 w 11 时,果然它会将我们带到我们创建的新屏幕。
When I clicked my w 11 Sure enough it takes us to that new screen that we created.

我们知道这一点,因为它有淡蓝色的背景,然后我们可以点击上一个按钮,它会带我们在这两个屏幕之间来回切换。
We know that because it's got the baby blue background and then we can hit the previous button and it'll take us back and forth between those two screens.

就是这样。
That's it.

这就是屏​​幕导航的工作原理。
That's how screen navigation works.

一个简单的构建或 5000。
An easy build or 5000.

这就是窍门。
So that's the trick.

您现在可以创建新屏幕。
You can now create new screens.

您现在可以在它们之间来回切换。
You can now get back and forth between them.

一旦你进入这个模拟,你只需右键单击屏幕并选择退出模拟,就像你回到我们的正常环境一样。
And once you're in this simulation you can just right click on the screen and select exit simulation and just like that you're right back into our normal environment.

这就是本次讲座的内容。
So that's it for this lecture.

下次回来,我们实际上会让这个东西终于开始与我们的电脑交互。
Come back next time and we will actually get this thing to start interacting with our PC at long last.

那我就看看吧。
So I'll see then.

干杯
Cheers